package net.lab1024.sa.admin.module.business.purchase.supplier.constant;

import net.lab1024.sa.base.common.enumeration.BaseEnum;

/**
 * 供应商信用等级枚举
 *
 * @Author 1024创新实验室
 * @Date 2024/07/19 20:30:00
 * @Wechat zhuoda1024
 * @Email lab1024@163.com
 * @Copyright <a href="https://1024lab.net">1024创新实验室</a>
 */
public enum SupplierCreditRatingEnum implements BaseEnum {

    /**
     * A 优秀
     */
    EXCELLENT("A", "优秀"),

    /**
     * B 良好
     */
    GOOD("B", "良好"),

    /**
     * C 一般
     */
    AVERAGE("C", "一般"),

    /**
     * D 差
     */
    POOR("D", "差"),

    ;

    private final String value;

    private final String desc;

    SupplierCreditRatingEnum(String value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public String getValue() {
        return value;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}